package com.rabbiter.mapper;

import com.rabbiter.entity.Tickets;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TicketsMapper {
    int deleteByPrimaryKey(Integer ticketId);

    int insert(Tickets record);

    int insertOrUpdate(Tickets record);

    int insertOrUpdateSelective(Tickets record);

    int insertSelective(Tickets record);

    Tickets selectByPrimaryKey(Integer ticketId);

    int updateByPrimaryKeySelective(Tickets record);

    int updateByPrimaryKey(Tickets record);

    int updateBatch(List<Tickets> list);

    int updateBatchSelective(List<Tickets> list);

    int batchInsert(@Param("list") List<Tickets> list);
}